<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
?>
<form id="store_change_photo" action="{url link='marketplace.store.changephoto'}" method="POST" enctype="multipart/form-data">
    <div><input type="hidden" name="id" value="{$aStore.store_id}" /></div>
    <div><input type="hidden" name="listing_id" value="{$iListingId}"</div>
    
    <ul class="store_change_photo">
        <li>
            <img src="{param var='core.path'}module/marketplace/static/image/theme/1.png" width="150px"/><br/>
            <input {if $aStore.theme_id == 1}checked="checked"{/if} id="theme_1" type="radio" name="val[theme_id]" value="1"/>
            <label for="theme_1">Theme 1</label>
        </li>
        <li>
            <img src="{param var='core.path'}module/marketplace/static/image/theme/2.png" width="150px"/><br/>
            <input {if $aStore.theme_id == 2}checked="checked"{/if} id="theme_2" type="radio" name="val[theme_id]" value="2"/>
            <label for="theme_2">Theme 2</label>
        </li>
        <li>
            <img src="{param var='core.path'}module/marketplace/static/image/theme/3.png" width="150px"/><br/>
            <input {if $aStore.theme_id == 3}checked="checked"{/if} id="theme_3" type="radio" name="val[theme_id]" value="3"/>
            <label for="theme_3">Theme 3</label>
        </li>
        <li>
            <img src="{param var='core.path'}module/marketplace/static/image/theme/4.png" width="150px"/><br/>
            <input {if $aStore.theme_id == 4}checked="checked"{/if} id="theme_4" type="radio" name="val[theme_id]" value="4"/>
            <label for="theme_4">Theme 4</label>
        </li>
    </ul>
    <div class="table">
        <div class="table_left">or Upload Photo</div>
        <div class="table_right">
            <input type="file" name="image[]"/>
            <div>
                Chỉ hổ trợ định dạng jpg,png và gif. Dung lượng tối đa <b>< 5M</b>.<br/>
                Kích thước ảnh tối thiểu <b>960x120(px)</b>.
            </div>
        </div>
    </div>
	<div class="separate"></div>
    <div class="group_buttons">
        <input type="submit" class="button btn_submit" value="Save"/>
        <input type="button" class="button cancel" value="Cancel" onclick="tb_remove();return false;"/>
    </div>
</form>